gdk_surface_get_type_hint
gdk_surface_set_shadow_width
gdk_surface_get_position
-gdk_surface_get_root_origin
gdk_surface_get_frame_extents
gdk_surface_get_origin
gdk_surface_get_device_position
GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_transient_for (surface, parent);
}
-/**
- * gdk_surface_get_root_origin:
- * @surface: a toplevel #GdkSurface
- * @x: (out): return location for X position of surface frame
- * @y: (out): return location for Y position of surface frame
- *
- * Obtains the top-left corner of the window manager frame in root
- * surface coordinates.
- *
- **/
-void
-gdk_surface_get_root_origin (GdkSurface *surface,
- gint *x,
- gint *y)
-{
- GdkRectangle rect;
-
- gdk_surface_get_frame_extents (surface, &rect);
-
- if (x)
- *x = rect.x;
-
- if (y)
- *y = rect.y;
-}
-
/**
* gdk_surface_get_frame_extents:
* @surface: a toplevel #GdkSurface
gint *x,
gint *y);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_get_root_origin (GdkSurface *surface,
- gint *x,
- gint *y);
-GDK_AVAILABLE_IN_ALL
void gdk_surface_get_frame_extents (GdkSurface *surface,
GdkRectangle *rect);